﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NGourd.Core.Runners;

namespace NGourd.CLI
{
    class Option
    {
        public string ShortForm { get; set; }
        public string LongForm { get; set; }
        public string Description { get; set; }
        public Action<Configuration, string> ApplyAction { get; set; }

        public IConfigurationTweak CreateTweak(string value)
        {
            return new OptionConfigurationTweak(this, value);
        }
    }
}
